#ifndef _DISPLAY_OBJECT_H_
#define _DISPLAY_OBJECT_H_

#include <goocanvas.h>

#include <string>

namespace lgb_gtk
{
  
  using namespace std;

  class DisplayObject
  {
  protected:
    double x;
    double y;
    double width;
    double height;
    bool hasInit;
    
  public:
    virtual string Type() = 0;
    double GetX() { return x; }
    double GetY() { return y; }
    double GetWidth() { return width; }
    double GetHeight() { return height; }

    bool SetX(double newX){ x = newX ; return true; }
    bool SetY(double newY){ y = newY ; return true; }
    bool SetPosition(double newX, double newY){ x = newX ; y = newY; return true; }
    bool SetWidth(double newW){ width = newW ; return true; }
    bool SetHeight(double newH){ height = newH ; return true; }
    bool SetSize(double newW, double newH){ width = newW; height = newH; return true; }
  };
  
}

#endif
